package com.niguang.work.labour.api.vo;

import lombok.Data;

import java.util.List;

@Data
public class AreaTree {
    private Integer id;
    private Integer pid;
    private String name;
    private List<AreaTree> children;

    public AreaTree(Integer id, Integer pid, String name, List<AreaTree> children) {
        this.id = id;
        this.pid = pid;
        this.name = name;
        this.children = children;
    }
}
